import java.util.Scanner;

public class 替换敏感词 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);//调用对象
        System.out.println("请输入");
        String s = sc.nextLine();//s接收的是键盘输入的

        String result= s.replace("TMD","***");

        System.out.println(result);
    }
}
